package com.atguigu.commonutils;

/**
 * 返回值枚举类
 * @author: He Wentao
 * @date: 2022/8/13 20:23
 */
public enum ResultCode {
    SUCCESS(20000), ERROR(500);

    private final Integer val;

    private ResultCode(Integer code) {
        this.val = code;
    }

    public int getValue(){
        return val;
    }
}
